package com.pai4j.aigc;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;

@SpringBootApplication
@EnableDiscoveryClient
@ComponentScan({"com.pai4j"})
@EnableFeignClients("com.pai4j.remote")
@EnableJpaRepositories(basePackages = "com.pai4j")
@EnableScheduling
public class Pai4jAIGCApplication {

    public static void main(String[] args) {

        SpringApplication.run(Pai4jAIGCApplication.class, args);
    }

}
